<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_WARNING",false);?>﻿<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_WARNING",false);?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>小成博客（Blog）—专业PHP技术博客，专注于互联网软件开发和信息安全</title>
<meta name="author" content="小成" />
<meta name="copyright" content="CopyRight © 2010~2012 小成版权所有" />
<meta name="keywords" content="php mysql,php学习,apache 配置,js indexof,ajax技术,php blog,php session,thinkphp,sphinx,php递归函数,php递归算法" />
<meta name="description" content="小成博客，一个专注PHP程序开发，专注于互联网产品，研究PHP Apache mysql linux等开源技术，探讨计算机应用，分享学习与生活的IT技术博客" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="http://localhost/kksblog/Index/Tpl/Public/css/global.css" />
<link rel="stylesheet" type="text/css" href="http://localhost/kksblog/Index/Tpl/Public/css/default.css" />
<script type="text/javascript" src="http://localhost/kksblog/Index/Tpl/Public/Js/jquery.js"></script>
<script type="text/javascript" src="http://localhost/kksblog/Index/Tpl/Public/Js/common.js"></script>
<script type="text/javascript" src="http://localhost/kksblog/Index/Tpl/Public/js/blog.js"></script>
<!--[if lte IE 6]>
<script type="text/javascript" src="http://localhost/kksblog/Index/Tpl/Public/Js/PNG.js"></script>
{literal}
<style>
* html,* html body {background-image:url(about:blank);background-attachment:fixed;}
</style>
{/literal}
<![endif]-->
<script type="text/javascript">
var URL = 'Index';
var APP	 =	'';
var PUBLIC = 'Public';
</script>
</head>

<body class="body_bg">
<!--头部-->
<div class="top_float png">
	<div class="wide">
    	<div class="logo png">
        	<a href=""></a>
        </div>
        <div class="nav">
        	<a href="/">首页</a>
            <!-- <?php $hd["list"]["n"]["total"]=0;if(isset($category) && !empty($category)):$_id_n=0;$_index_n=0;$lastn=min(1000,count($category));
$hd["list"]["n"]["first"]=true;
$hd["list"]["n"]["last"]=false;
$_total_n=ceil($lastn/1);$hd["list"]["n"]["total"]=$_total_n;
$_data_n = array_slice($category,0,$lastn);
if(count($_data_n)==0):echo "";
else:
foreach($_data_n as $key=>$n):
if(($_id_n)%1==0):$_id_n++;else:$_id_n++;continue;endif;
$hd["list"]["n"]["index"]=++$_index_n;
if($_index_n>=$_total_n):$hd["list"]["n"]["last"]=true;endif;?>

            	<a href="#"><?php echo $n['cname'];?></a>
            <?php $hd["list"]["n"]["first"]=false;
endforeach;
endif;
else:
echo "";
endif;?> -->
            <a href="http://localhost/kksblog/index.php/wish/index">许愿墙</a>
            <a href="http://localhost/kksblog/index.php/wish/index">许愿墙</a>
            <a href="about">关于我</a>
        </div>
        <div class="nav_right">
        	<div class="weibo_login">
            	&nbsp;
            </div>
            <div class="clr"></div>
        	<form action="" method="get"  class="search">
        		<input name="k" class="inp_text search_k" id="search_k" maxlength="20" value="" />
                <input type="submit" class="search_btn cursor" id="search_btn" value="搜 索" />
            </form>
        </div>
        <div class="clr"></div>
    </div>
</div>
<div class="clr"></div>

<!--或是"http://localhost/kksblog/Index/Tpl/Public/header"-->

<script type="text/javascript" src="http://localhost/kksblog/Index/Tpl/Public/Js/jquery.lazyload.min.js"></script>
<script type="text/javascript">
$(function(){
	$("img.lazy").lazyload({ effect : "fadeIn" });
	//$("img.lazy").lazyload({ threshold : 200 }); //提前加载
	//$("img.lazy").lazyload({ event : "click" }); //时间加载
	//$("img.lazy").lazyload({ effect : "fadeIn" }); //加载效果
	////加载不可见图片如（display:none）如果我们需要用它加载不可见图像，我们需要将 skip_invisible 设置为 false
	//$("img.lazy").lazyload({ skip_invisible : false }); 
	//$("img.lazy").lazyload({ container: $("#container") }); //把图片加载进某个容器
})
</script>

<div class="main">
	<div class="wide">
    	<div class="main_left">
        	<div class="simple_detail">
            	<h3 style="text-indent:2em;">
	<span style="line-height:3;font-size:18px;"><a target="_blank" href="">小成博客</a>正式上线！--小成</span> 
</h3>
<p style="text-indent:2em;">
	<span style="line-height:3;font-size:14px;">由于时间仓促，一个通宵开发出来的，可能博客程序还有一些不可预知的错误，如有发现，请在下面留言纠错！</span>
</p>
<p style="text-indent:2em;">
	<span style="line-height:3;font-size:14px;">90后小奋青，没钱没势没背景；没身材没相貌啥都没有，只有一颗不断奋斗的心！
上得了厅堂，下得了厨房，写得了代码，查得出异常，杀得了木马， 翻得了围墙， 江湖人称:居家必备好男人
从小家境贫寒，在农村长大，下过地，务过农……
吾等天朝屌丝天天打酱油！</h4>


关于我，可能被人误解，也可能被人仇恨，但我始终不说什么！
谁人懂我心，我看人生戏。
原坐夕阳下，隐世看今朝。

</span><br />
<span style="line-height:3;font-size:14px;"> </span>
</p>
<p style="text-indent:2em;">
	<span style="line-height:3;font-size:14px;">邮箱为：</span><a href=""><span style="line-height:3;font-size:14px;">192796875@qq.com</span></a><span style="line-height:3;font-size:14px;"></span>
</p>
<p style="text-indent:2em;">
	<span style="line-height:3;font-size:14px;">QQ号码：192796875<br />
</span>
</p>
<p style="text-indent:2em;" align="left">
	<span style="line-height:3;font-size:14px;">此致：2013-10-1</span> 
</p>
<p style="text-indent:2em;" align="left">
	<span style="line-height:3;font-size:14px;"><strong>名言：</strong>青春是打开了就合不上的书，人生是踏上了就回不了头的路，爱情是扔出了就收不回的赌注。每天把牢骚拿出来晒晒太阳，心情就不会缺钙，要输就输给追求，要嫁就嫁给幸福。生活，就是生下来，活下去。别总埋怨老天对你不公平，其实老天根本不知道你是谁！<br />
</span> 
</p>
<p style="text-indent:2em;">
	<br />
</p>
<p style="text-indent:2em;">
	<br />
</p>
<p style="text-indent:2em;">
	<br />
</p>            	<div class="main_art_box_r_a"><a href="#comment" class="a_com_num fr">评论（<span id="comment_count"><?php echo $hd['list']['n']['index'] + $limitF ?></span>）</a></div>
            </div>
            <div id="comment_list">
            	<h3>所有评论：</h3>
            	<table cellpadding="0" cellspacing="0">
                	<tr>
                    	<th width="100">
                        	<a></a>
                        </th>
                        <td>
                            <list from="$comment" name="n">
                        	<div class="comment_content">
                        		<div class="clr tl"><?php echo $n['content'];?></div>
                        		<div class="clr tr"><span class="comment_time"><?php echo date('Y-m-d',$n['time']);?></span> | <span class="comment_name"><?php echo $n['nickname'];?></span></div>
                        	</div>
                        </td>
                    </tr>
                </table><table cellpadding="0" cellspacing="0">
                <div class="page">
                    <?php echo $page;?>
                </div>
            </div>
            <div id="comment">
            	<h3>发表评论：</h3>
                <table cellpadding="0" cellspacing="0">
                	<tr>
                    	<td width="80"><span class="red">*</span>您的昵称：</td>
                        <td align="left"><input type="text" maxlength="20" size="30" id="comment_name" class="inp_text" value="游客" /> <label style="color:#999999;">您的真实姓名、小名、昵称等！</label></td>
                    </tr>
                    <tr>
                    	<td width="80"><span class="red">*</span>您的邮箱：</td>
                        <td align="left"><input type="text" maxlength="20" size="40" id="comment_email" class="inp_text" /> <label style="color:#999999;">为了方便与您联系，请填写真实邮箱！</label></td>
                    </tr>
                	<tr>
                    	<td><span class="red">*</span>评论内容：</td>
                        <td><textarea id="comment_content" class="area comment_area"></textarea></td>
                    </tr>
                    <tr>
                    	<td>&nbsp;</td>
                        <td align="left"><input type="button" id="comment_button" articleId="4" class="comment_btn" value="发 表" /> <label style="color:#666666;">您还能输入<span id="word_count"></span>个字！</label></td>
                    </tr>
                </table>
            </div>
        </div>
        <!--右侧公用-->
        <!--公共右侧-->
          <?php if(!defined("HDPHP_PATH"))exit;C("SHOW_WARNING",false);?> <!--右侧公用-->
        <!--公共右侧-->
        <div class="main_right">
        	<div class="main_right_p">
                <div class="main_right_box">
                    <a href="Photo" title="">
                    	<img src="me.jpg" title="" />
                    </a>
                    <div class="main_right_box_i">
                        <span class="main_right_box_i_t bo">
                        </span><br />
				          <br />
				          <br />
                    </div>
                    
                </div>
            </div>
            <div class="main_right_line_box"></div>
            <!-- 最新文章 -->
            <div class="main_right_box right_cate hot_arts">
            	<h3><a class="fl focus">最新文章</a><a class="fr">推荐文章</a></h3>
                <ul>
                    <?php $hd["list"]["n"]["total"]=0;if(isset($newarticle) && !empty($newarticle)):$_id_n=0;$_index_n=0;$lastn=min(1000,count($newarticle));
$hd["list"]["n"]["first"]=true;
$hd["list"]["n"]["last"]=false;
$_total_n=ceil($lastn/1);$hd["list"]["n"]["total"]=$_total_n;
$_data_n = array_slice($newarticle,0,$lastn);
if(count($_data_n)==0):echo "";
else:
foreach($_data_n as $key=>$n):
if(($_id_n)%1==0):$_id_n++;else:$_id_n++;continue;endif;
$hd["list"]["n"]["index"]=++$_index_n;
if($_index_n>=$_total_n):$hd["list"]["n"]["last"]=true;endif;?>

                	   <li><a href="<?php echo U('article', array('aid'=>$n['aid']));?>" title="<?php echo $n['title'];?>">» <?php echo $n['title'];?></a></li>
                    <?php $hd["list"]["n"]["first"]=false;
endforeach;
endif;
else:
echo "";
endif;?>
                </ul>
                <ul class="hide">
                	<?php $hd["list"]["n"]["total"]=0;if(isset($newarticle) && !empty($newarticle)):$_id_n=0;$_index_n=0;$lastn=min(1000,count($newarticle));
$hd["list"]["n"]["first"]=true;
$hd["list"]["n"]["last"]=false;
$_total_n=ceil($lastn/1);$hd["list"]["n"]["total"]=$_total_n;
$_data_n = array_slice($newarticle,0,$lastn);
if(count($_data_n)==0):echo "";
else:
foreach($_data_n as $key=>$n):
if(($_id_n)%1==0):$_id_n++;else:$_id_n++;continue;endif;
$hd["list"]["n"]["index"]=++$_index_n;
if($_index_n>=$_total_n):$hd["list"]["n"]["last"]=true;endif;?>

                       <li><a href="<?php echo U('article', array('aid'=>$n['aid']));?>" title="<?php echo $n['title'];?>">» <?php echo $n['title'];?></a></li>
                    <?php $hd["list"]["n"]["first"]=false;
endforeach;
endif;
else:
echo "";
endif;?>                
                </ul>
            </div>
            <!-- 分类归档 -->
            <div class="main_right_box right_cate">
            	<h3>分类归档</h3>
                <ul>
                    <?php $hd["list"]["n"]["total"]=0;if(isset($category) && !empty($category)):$_id_n=0;$_index_n=0;$lastn=min(1000,count($category));
$hd["list"]["n"]["first"]=true;
$hd["list"]["n"]["last"]=false;
$_total_n=ceil($lastn/1);$hd["list"]["n"]["total"]=$_total_n;
$_data_n = array_slice($category,0,$lastn);
if(count($_data_n)==0):echo "";
else:
foreach($_data_n as $key=>$n):
if(($_id_n)%1==0):$_id_n++;else:$_id_n++;continue;endif;
$hd["list"]["n"]["index"]=++$_index_n;
if($_index_n>=$_total_n):$hd["list"]["n"]["last"]=true;endif;?>

                    	<li><a href="" class="" title="#">» <?php echo $n['cname'];?><!-- （<label></label>） --></a>
                        </li>
                    <?php $hd["list"]["n"]["first"]=false;
endforeach;
endif;
else:
echo "";
endif;?>
                </ul>
            </div>
            <!-- 日期归档 -->
            <div class="main_right_box right_cate right_date">
            	<h3>日期归档</h3>
                <ul>
                	<li><a href="#" class="" title="">» 2013年10月（<label>1</label>）</a></li>
                </li>                
            </ul>
            </div>
            <!-- 标签云集 -->
            <!-- <div class="main_right_box right_cate right_tag">
            	<h3>标签云集</h3>
                <ul>
                	<li>
                	   <a href="#" alt="" class="" title="mysql" style="background:#EE33EE">php</a>
                    </li>
                </ul>
            </div> -->
            <!-- 博客统计 -->
            <div class="main_right_box right_cate right_total">
            	<h3>博客统计</h3>
                <ul>
                	<li><a>文章总数：<?php echo $total['article'];?> 篇</a></li>
                	<li><a>评论总数：<?php echo $total['comment'];?> 条</a></li>
                	<!-- <li><a>标签数量：1 个</a></li> -->
                	<!-- <li><a>链接数量：1 个</a></li> -->
                    <li><a>浏览总数：<?php echo $total['click'];?>   次</a></li>
                	<li><a>建站日期：2013-10-1</a></li>
                </ul>
            </div>
            <!-- 最新评论 -->
            <div class="main_right_box right_cate right_link">
            	<h3 style="display:block;"><span class="fl">最新评论</span>
                	<div class="clr"></div>
                </h3>
                <ul>
                    <?php $hd["list"]["n"]["total"]=0;if(isset($newComment) && !empty($newComment)):$_id_n=0;$_index_n=0;$lastn=min(1000,count($newComment));
$hd["list"]["n"]["first"]=true;
$hd["list"]["n"]["last"]=false;
$_total_n=ceil($lastn/1);$hd["list"]["n"]["total"]=$_total_n;
$_data_n = array_slice($newComment,0,$lastn);
if(count($_data_n)==0):echo "";
else:
foreach($_data_n as $key=>$n):
if(($_id_n)%1==0):$_id_n++;else:$_id_n++;continue;endif;
$hd["list"]["n"]["index"]=++$_index_n;
if($_index_n>=$_total_n):$hd["list"]["n"]["last"]=true;endif;?>

                	   <li><span class="fl">»</span><a href="<?php echo U('article', array('aid'=>$n['aid']));?>" title="<?php echo $n['content'];?>"><?php echo $n['content'];?></a><span class="fr">[游客]</span></li>
                    <?php $hd["list"]["n"]["first"]=false;
endforeach;
endif;
else:
echo "";
endif;?>               
                </ul>
            </div>
        <div class="clr"></div>
        
        <?php if(!defined("HDPHP_PATH"))exit;C("SHOW_WARNING",false);?>        <!--滚屏-->
        <!--滚屏-->
        <div id="roll">
            <div id="roll_top" title="回到顶部"></div>
            <div id="center" title="查看评论"></div>
            <div id="roll_bottom" title="转到底部"></div>
        </div>
    </div>
    <div class="clr"></div>
</div>
<div class="clr"></div>


﻿<div class="footer">
	<p align="center">
	<span style="line-height:3;font-family:SimSun;">CopyRight &copy; 2010~2013&nbsp;小成&nbsp;版权所有&nbsp; </span><span style="line-height:3;font-family:SimSun;">广告</span><span style="line-height:3;font-family:SimSun;">联系</span><span style="line-height:3;font-family:SimSun;">电话：15616240504</span><span style="line-height:3;font-family:SimSun;">　联系</span><span style="line-height:3;font-family:SimSun;">邮箱：<a href="mailto:192796875@qq.com">192796875@qq.com</a></span> 
</p>    <div style=" height:20px; text-align:center; width:80px; margin:0px auto;">
    </div>
    <div style=" height:20px; text-align:center; width:100%;">
    <br/>

    <br/><br/>
    </div>
    <div class="clr"></div>
</div>

<!--底部  回到顶部-->
<div class="back_top png">
	<div class="wide">
    	
        <div class="clr"></div>
    </div>
</div>
<div class="clr"></div>
</body>
</html>

